package com.accp.pojo;

import com.accp.utils.DateUtil;



public class OrderInfo {
    private Integer orderid;

    private String cardnumber;

    private Integer roomid;

    private String ordercreatetime;

    private String orderendtime;

    private Boolean isinvoicing;

    private Room room;
    
    private Residents residents;
    
    public Residents getResidents() {
		return residents;
	}

	public void setResidents(Residents residents) {
		this.residents = residents;
	}

	public Room getRoom() {
		return room;
	}

	public void setRoom(Room room) {
		this.room = room;
	}

	public Integer getOrderid() {
        return orderid;
    }

    public void setOrderid(Integer orderid) {
        this.orderid = orderid;
    }

    public String getCardnumber() {
        return cardnumber;
    }

    public void setCardnumber(String cardnumber) {
        this.cardnumber = cardnumber == null ? null : cardnumber.trim();
    }

    public Integer getRoomid() {
        return roomid;
    }

    public void setRoomid(Integer roomid) {
        this.roomid = roomid;
    }

    public String getOrdercreatetime() {
        return ordercreatetime;
    }

    public void setOrdercreatetime(String ordercreatetime) {
    	ordercreatetime=DateUtil.mydemofunction(ordercreatetime);
    	
        this.ordercreatetime = ordercreatetime;
        
        
    }

    public String getOrderendtime() {
        return orderendtime;
    }

    public void setOrderendtime(String orderendtime) {
    	orderendtime=DateUtil.mydemofunction(orderendtime);
        this.orderendtime = orderendtime;
    }

    public Boolean getIsinvoicing() {
        return isinvoicing;
    }

    public void setIsinvoicing(Boolean isinvoicing) {
        this.isinvoicing = isinvoicing;
    }
}